package sdk3.components.DataGrid.RowColorDataGrid
{
	import mx.containers.HBox;
	import mx.controls.Label;
	import mx.core.BitmapAsset;

	public class RowColorDataGrid_itemRenderer extends HBox
	{
/*		[Embed(source="logo.gif")]
		[Bindable]
		public var image:Class;
*/		
/*		private function modImage():void {
			// Create an object from the embed class. 
			// Since the embedded image is a GIF file, 
			// the data type is BitmapAsset.
			var imgObj:BitmapAsset = new image() as BitmapAsset;
			
			// Modify the object.
			imgObj.bitmapData.noise(4);
			
			// Write the modified object to the Image control.
			myImage.source=imgObj;
		}
*/
		public function RowColorDataGrid_itemRenderer()
		{
			this.percentWidth = 100;
			this.percentHeight = 100;
			this.horizontalScrollPolicy = 'off';
			this.setStyle('horizontalGap',0);
			
			var LABEL:Label = new Label();
			LABEL.text = data.title;
			
			this.addChild(LABEL);

			// var imageObject:BitmapAsset = new image() as BitmapAsset;
		}
	}
}